build:
  docker build . -t mkdocs-chimney-docs

serve: build
  docker run --rm -it -p 8000:8000 -v ${PWD}:/docs --env "CI_LATEST_TAG=$(git describe --tags)" mkdocs-chimney-docs

test-snippets:
  cd .. && sbt publish-local-for-tests
  cd .. && scala-cli run scripts/test-snippets.scala -- --extra "chimney-version=$(sbt -batch -error 'print chimney/version')" "$PWD/docs/docs"
